package com.ruoyi.flow.auth.login;

import com.ruoyi.flow.auth.security.FlowUserDetailService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.inject.Inject;

/**
 * @Author: wtian
 * @Description:
 * @Date: Created in 15:37 2018/8/3
 * @Version: 1.0
 */
@Controller
@RequestMapping("/auth")
public class LoginController {

    @Inject
    private FlowUserDetailService userDetailService;

    @RequestMapping(value = "/login",method = RequestMethod.GET)
    public String toLoginPage(){
        return "admin/login";
    }
}
